home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Programmer Disk
/
The Programmer Disk (Microforum).iso
/
xpro
/
extra
/
pro14
/
readme.flw
< prev
Wrap
Text File
|
1993-07-22
|
18KB
|
487 lines
==============================================================================
TRANTOR LTD Home/Office 0639-633072
GREEN HEDGES BUNGALOW International 44-639-633072
PONTARDAWE ROAD Mobile 0836-795445
BRYNCOCH Fax (manual switch, on request)
NEATH SA10 7YL
WEST GLAMORGAN Directors:
SOUTH WALES, UK N.H.Jennings, B.Sc., CEng, MBCS, FIAP
D.P.Jennings
COMPUSERVE Id: 100040,471
==============================================================================
Contents
==============================================================================
1. Conditions of sale
2. Registration
3. About TRANTOR and our software
4. General utilities
5. COBOL utilities
6. Items supplied on the disk
7. Use and Performance
8. History
9. Documentation
A. Aknowledgements
This software requires only a single drive, only 384k of memory, and uses
only text-mode screens, so it should run on almost ANY IBM-compatible PC.
==============================================================================
1. Conditions of sale
==============================================================================
Copyright is retained by the author. The software on this disk is NOT public
domain, and the purchaser is granted a limited licence to copy,
distribute and use it for PERSONAL USE ONLY, subject to the following
conditions:
No changes are made to any file
All files on the supplied disk are included on the copy
No charge is made other than a reasonable fee for media, postage and copying
If you make use of the software after an initial 30 day evaluation, you
MUST register. This is a legal requirement.
Corporate users, and anyone using this software for commercial
purposes, MUST register and purchase the corresponding licence.
The registered version must NOT be copied for distribution. It contains
a unique serial number which will identify the source of any copies.
==============================================================================
2. Registration
==============================================================================
Please send £4 for the shareware version, or £12 for the registered version
of any of our PC programs, to the address given at the start of this file.
This includes VAT, currently at 17.5%
Registration helps to pay for further development, which is ultimately for
YOUR benefit. We are a SMALL company, and the little income from
registration goes to support myself, my wife and 4 children, (and the Tax
man), NOT into luxury office buildings or executive cars! I still have to
work as a freelance in order to live.
For non-UK users, please send $25 or equivalent. This is because the bank
charges a minimum of $4 for currency conversion (cash) or $9 for cashing a
foreign cheque (check). Also, overseas mailing costs more. (The volume of
registrations does not yet allow us to offer credit card facilities.)
Note: A VAT receipt can be supplied on request.
==============================================================================
3. About TRANTOR and our software
==============================================================================
Trantor Ltd is a small consultancy, originally specialising in software
for ICL mainframes. Our programs are installed on ICL Mainframes in the
UK, and as far away as Australia. We have recently ported many of our
mainframe COBOL utilities onto IBM PC's.
Our current range includes the following items which run under ICL's VME
operating system. Please contact us for further details.
COBFORM : COBOL reformatter and PC and IBM/MVS versions available
Structured programming preprocessor
MFE : MULTI_FILE_EDIT PC demo available on request
FAM : File_Amender PC demo available on request
TRANSIT : Transfers OMF's between machines via
MS-DOS floppy and/or FTF
MANTXREF : MANTIS cross reference PC demo available
and other utilities
COBSTR : COBOL source documentation aid/structure charter
PC & IBM/MVS versions available
Our PC software includes the following shareware products
COBOL utilities
These are compatible with many compilers, including R. Noweck's
shareware COBOL600 and COBOL650. They can also handle COBOL source
downloaded from a number of different hardware platforms.
COBFORM : as above
COBSTR : COBOL source analyzer, documentation aid & structure charter
COBFLOW : COBOL source logic charter
COBTABLE : COBOL record and structure layout print
COBXREF : COBOL Cross reference list
PSICO : Structured COBOL development aid
The following PC program is available on a commercial basis only, ie it is NOT
available as shareware. A demo IS available, and the package could be made
available on other hardware, as it is itself written in COBOL.
COBWEB : COBOL structure analyzer, assists reverse engineering
and re-engineering of old COBOL.
Other shareware
MATCH : Interactive file compare
SECURE : Security aid
NJTREE : Yet another directory tree program
DELTREE : Directory tree deletion
==============================================================================
4. General Software and Utilities
==============================================================================
MULTI_FILE_EDIT
===============
This is a full-screen text editor for ICL 2900 and Series 39 mainframe
computers
It features
Simultaneous editing of a number of files,
Cut and paste between files
Split screen working
Editing of long records (up to 2040 bytes)
Hexadecimal screen edit
Built-in COBOL and SCL reformatters
Insertion of Path Analysis and Trace code into COBOL source
COBOL Animator, for single step execution with source display
Text compression
Built-in structured COBOL preprocessor
and many other useful functions.
A PC-based demonstration version, with tutorial file, is available from us
on request, for a nominal charge. (It requires at least 512k of memory.)
FAM - File Amender
==================
For ICL 2900 and Series 39 mainframe computers.
This is an interactive utility for amending a serial or indexed file.
It features
Full screen record display, including datanames as well as the data
Conversion of data to and from COMPUTATIONAL, COMP-3 and hexadecimal
Automatic record initialisation
Insertion, amendment and deletion of records
Optional display of COBOL Group names and redefinitions
Print of selected records
Optional Autoprint of changed records
A PC demonstration version is available on request.
MATCH : File comparison
=======================
This IBM/PC interactive file comparison will enable two text files to be
compared, with the differences between individual pairs of records indicated.
When a mismatch occurs, the next 8 records of each file are displayed. You
will be able to step one or both files forwards until matching is
re-established, and the program then proceeds to the next mismatching pair.
It can display in Hex as well as ASCII, can handle binary data, and allows
left and right margins to limit the range of columns compared.
It is accompanied by other MS-DOS utilities:
NJTREE Directory Tree display
DELTREE Directory Tree deletion
SECURE Directory Tree renaming
==============================================================================
5. COBOL Utilities
==============================================================================
COBOL Reformatter - COBFORM
===========================
This program allows you to reformat COBOL programs to conform to your own
preferred layout. It also contains a structured programming preprocessor which
converts structured programming commands into valid COBOL.
The layout of the converted program is defined in a table which specifies the
alignment of selected COBOL verbs, reserved words and datanames. Two sample
tables are supplied, one of which contains the structure verbs.
The table also allows you to perform global replacements of selected keywords
througout the text, thus you can change all occurrences of a dataname or a
paragraph name.
You can also specify input and output "card" layouts, and can therefore
convert to and from various nonstandard source formats, such as DEC and UTAH.
The other utilities below require a standard source layout, and therefore
COBFORM may be needed in order to convert the source first.
In the PC and ICL versions, COBOL MACROs are available. A library of well
designed and tested macros can make a substantial contribution to
productivity, as well as reducing the scope for program errors.
COBXREF - COBOL cross reference
===============================
This provides a sorted cross reference of COBOL programs. It includes all
datanames, paragraph and section names.Some COBOL reserved words may
be included, as well as numeric literals and some PICTURE clauses. Most
COBOL verbs are filtered out.
All dialects of COBOL are allowed, provided that the standard COBOL card
layout is used, ie columns 1-6 for sequence, 7 for comment, 8-72 for source
text. The program can cope with large programs, up to about 7000 source lines,
depending on the complexity and number of datanames.
COBFLOW - COBOL LOGIC CHARTER
==============================
COBSRC produces a file which contains details of all sections, paragraphs, GO
TO's, PERFORMS and STOP's (including EXIT PROGRAM and GOBACK) within a COBOL
source.
It is compatible with all versions of COBOL prior to ANS85. (It is not
expected that programs written to ANS85 standard will need this facility)
COBFLOW takes this analysis file, and produces a logic chart. Although not yet
a full flowchart, it is nevertheless a useful tool in investigating old
programs.
Further development is dependent on YOUR support, by registration.
COBWEB - COBOL program analyzer
===============================
This program represents a break-through in COBOL re-engineering, and is a step
on the road to automated restructuring of old code, pre ANS85. (It is not
expected that programs written to ANS85 standard will need this facility)
It is developed from COBFLOW and is able to indicate subsets of a COBOL source
which are self-contained and can be taken out of line to be performed.
A further program is under development which will perform the actual code
amendments indicated by COBWEB.
It is not intended to issue this program as Shareware, although a cut-down
demonstration version is available, which is fully functional except for a
limit on the number of paragraph names within a SECTION.
PSICO
=====
This is a program for interactive development of structured COBOL programs.
It contains formatted screens to capture the body of each program
structure, reducing the development time and ensuring correct structure
syntax is used.
The output is a structured program in a suitable form for input to
COBFORM, which will then convert it to standard (ANS74) COBOL.
==============================================================================
6. Items supplied
==============================================================================
COBFLOW.EXE COBFLOW program, version 1.00
COBWEBS.EXE Demo version of COBWEB
COBSRC.EXE COBSRC program, version 1.00
README.FLW This file
FLOWTEST.CBL Example of COBOL source as input to COBSRC, to generate:
FLOWTEST.TXT the sample test file for input to COBFLOW
EXAMPLE.TXT Example used by COBWEBS
EXAMPLE.CBL COBOL source of COBWEBS example
COBTABLE TXT Table file used by COBSRC
==============================================================================
7. Use and Performance
==============================================================================
Note that the programs should be in the current directory.
COBSRC should first be run on the source file to produce a work
file with a TXT extension. (or use the EXAMPLE.TXT supplied)
COBFLOW will read the .TXT file and produce a .PRN file containing the
chart
COBWEBS will read EXAMPLE.TXT and create or replace EXAMPLE.PRN
Note: If you have PKLITE, you can use it to compress the programs.
5.1 ERRORS
==========
File errors (with file status) will be reported if any file fails to open.
5.2 HARDWARE REQUIREMENTS
=========================
Any IBM-compatible PC, with 384k, one drive, and any monitor.
==============================================================================
8. History
==============================================================================
Version 1.00 July 1993 - Initial PC version
Version 1.01 July 1993 - COBSTR replaced by COBSRC, which is smaller,
faster, and has fewer bugs (I hope!)
==============================================================================
9. Documentation
==============================================================================
This file contains all necessary documentation.
9.1 COBSRC
===========
COBSRC analyses the structure of a COBOL program, creating an
intermediate file of paragraph, PERFORM and GOTO information.
Command line parameters are :
IN= input COBOL source file
OUT= name for intermediate file. Default is inputname.TXT
TAB= table file name. Do not override the default
The keywords are not needed if parameters are given in the stated order
If no extension is present on the input file name, .CBL is
assumed.
c:>COBSRC IN=SAMPLE.CBL OUT=SAMPLE.TXT
OUTPUT FILE CLOSED
END OF INPUT REACHED
END OF RUN
Note that for correct operation of COBFLOW, the COBOL source MUST have
either a SECTION or a PARAGRAPH at the start of the PROCEDURE DIVISION,
before any executable code.
9.2 COBFLOW
===========
Parameters
==========
COBFLOW uses the following
IN= Name of .TXT file previously created by COBSRC
OUT= Name for output .PRN file
PERFORM=Y to show all performs, otherwise they are not shown,
giving a smaller print
COBWEBS has no parameters
Restrictions
============
Source file size : No restriction, provided the procedure
division is broken into SECTION's
COBOL Section : Maximum of 2000 references including
Paragraph names, GO TO's and PERFORMs.
If exceeded, try PERFORM=N
COBWEBS - maximum 30 references
GO TO's and PERFORMs from one section to another are shown ONLY
at the ORIGIN, not in the target section. This should not be a
major problem.
At a later version, a summary of these inter-section references could
be printed.
PERFORM THRU's are NOT indicated separately in this version.
Performance
===========
The program reads and processes one SECTION at a time, which helps
to keep processing time and memory requirements to a minimum.
Since the program does a lot of sequential table searching, the
time to process a section is of the order of N squared, where N is
the number of references within the section.
Thus a section with 200 references will typically take 4 times as
long as a section with 100 references.
A new page is started for each SECTION.
Processing
==========
COBFLOW processes each section as follows:
Read all references into a table
Resolve all references in table
Print each reference as follows:
Print INWARD references to this paragraph
(ie GO TO's ands PERFORMS from other paragraphs)
Print OUTWARD references
(ie GO TO's ands PERFORMS to other paragraphs)
( Forward and backward references are distinguished by elbow
characters, which may not be printed correctly, depending on
the printer character set.)
Printing of PERFORMs can be suppressed by parameter.
The program will retain paragraph sequence from the source,
and indicate any unconditional transfer of control by
==== NO FALL THRU ====
which indicates that the following paragraph can only be entered
by a PERFORM or GO TO.
Examples
========
A sample COBOL program, and the chart produced, are provided
with the software.
A sample TXT file is also provided, which can be used for test
runs by typing the following at the DOS prompt:
COBFLOW IN=FLOWTEST.TXT OUT=FLOWTEST.PRN
or just
COBFLOW FLOWTEST
To run the COBWEBS demo, just type COBWEBS
==============================================================================
A. Aknowledgements
==============================================================================
MANTIS is a registered trade mark of CINCOM Systems
IBM International Business Machines
MVS IBM operating system
ICL International Computers Ltd
VME ICL operating system for 2900 & Series 39